<@html>
<script type="text/javascript">
	dojo.require("dijit.dijit");
	dojo.require("dijit.form.Form");
	dojo.require("dijit.form.DateTextBox");
	dojo.require("dijit.form.Button");
	dojo.require("dijit.form.ValidationTextBox");
	dojo.require("dijit.form.CheckBox");
</script>
<form jsId="detailForm" id="detailForm" method="post" dojoType="dijit.form.Form">
<table>
	<tr>
		<td>
		<@s.text name="materialCode"/>：
		</td>
		<td>
			<label id="materialCode" name="material.materialCode">${(material.materialCode)!}</label>
		</td>
		<td>
		<@s.text name="materialName"/>：
		</td>
		<td>
			<label id="materialName" name="material.materialName">${(material.materialName)!}</label>
		</td>
		<td>
		<@s.text name="ename"/>：
		</td>
		<td>
			<label id="ename" name="material.ename">${(material.ename)!}</label>
		</td>
	</tr>
	<tr>
		<td>
		<@s.text name="materialSpec"/>：
		</td>
		<td>
			<label id="materialSpec" name="material.materialSpec">${(material.materialSpec)!}</label>
		</td>
		<td>
		<@s.text name="helpCode"/>：
		</td>
		<td>
			<label id="helpCode" name="material.helpCode">${(material.helpCode)!}</label>
		</td>
		<td>
		<@s.text name="barcode"/>：
		</td>
		<td>
			<label id="barcode" name="material.barcode">${(material.barcode)!}</label>
		</td>
	</tr>
	<tr>
		<td>
		<@s.text name="price"/>：
		</td>
		<td>
			<label id="price" name="material.price">${(material.price)!}</label>
		</td>
		<td>
		<@s.text name="currency"/>：
		</td>
		<td>
			<label id="currency" name="material.currency">${(material.currency)!}</label>
		</td>
		<td>
		<@s.text name="producingArea"/>：
		</td>
		<td>
			<label id="producingArea" name="material.producingArea">${(material.producingArea)!}</label>
		</td>
	</tr>
	<tr>
		<td>
		<@s.text name="packUnit"/>：
		</td>
		<td>
			<label id="packUnit" name="material.packUnit">${(material.packUnit)!}</label>
		</td>
		<td>
		<@s.text name="packQty"/>：
		</td>
		<td>
			<label id="packQty" name="material.packQty">${(material.packQty)!}</label>
		</td>
		<td>
		<@s.text name="packWeight"/>：
		</td>
		<td>
			<label id="packWeight" name="material.packWeight">${(material.packWeight)!}</label>
		</td>
	</tr>
	<tr>
		<td>
		<@s.text name="weightUnit"/>：
		</td>
		<td>
			<label id="weightUnit" name="material.weightUnit">${(material.weightUnit)!}</label>
		</td>
		<td>
		<@s.text name="packGrossWeight"/>：
		</td>
		<td>
			<label id="packGrossWeight" name="material.packGrossWeight">${(material.packGrossWeight)!}</label>
		</td>
		<td>
		<@s.text name="packVolumn"/>：
		</td>
		<td>
			<label id="packVolumn" name="material.packVolumn">${(material.packVolumn)!}</label>
		</td>
	</tr>
	<tr>
		<td>
		<@s.text name="volumnUnit"/>：
		</td>
		<td>
			<label id="volumnUnit" name="material.volumnUnit">${(material.volumnUnit)!}</label>
		</td>
		<td>
		<@s.text name="maxStorage"/>：
		</td>
		<td>
			<label id="maxStorage" name="material.maxStorage">${(material.maxStorage)!}</label>
		</td>
		<td>
		<@s.text name="minStorage"/>：
		</td>
		<td>
			<label id="minStorage" name="material.minStorage">${(material.minStorage)!}</label>
		</td>
	</tr>
	<tr>
		<td>
		<@s.text name="safeStorage"/>：
		</td>
		<td>
			<label id="safeStorage" name="material.safeStorage">${(material.safeStorage)!}</label>
		</td>
		<td>
		<@s.text name="storageUnit"/>：
		</td>
		<td>
			<label id="storageUnit" name="material.storageUnit">${(material.storageUnit)!}</label>
		</td>
		<td>
		<@s.text name="storageType"/>：
		</td>
		<td>
			<label id="storageType" name="material.storageType">${(material.storageType)!}</label>
		</td>
	</tr>
	<tr>
		<td>
		<@s.text name="storageTerms"/>：
		</td>
		<td>
			<label id="storageTerms" name="material.storageTerms">${(material.storageTerms)!}</label>
		</td>
		<td>
		<@s.text name="autoAlarm"/>：
		</td>
		<td>
			<label id="autoAlarm" name="material.autoAlarm">${(material.autoAlarm)!}</label>
		</td>
		<td>
		<@s.text name="abcType"/>：
		</td>
		<td>
			<label id="abcType" name="material.abcType">${(material.abcType)!}</label>
		</td>
	</tr>
</table>
<div dojoType="dijit.layout.TabContainer" style="width:100%;">
<div dojoType="dijit.layout.ContentPane" title="物料详细信息表">
<table>
<tr>
	<td>
	<@s.text name="materialLength"/>：
	</td>
	<td>
		<label id="materialLength"
		       name="master.materialDetail.materialLength">${(master.materialDetail.materialLength)!}</label>
	</td>
	<td>
	<@s.text name="materialWidth"/>：
	</td>
	<td>
		<label id="materialWidth"
		       name="master.materialDetail.materialWidth">${(master.materialDetail.materialWidth)!}</label>
	</td>
	<td>
	<@s.text name="materialHight"/>：
	</td>
	<td>
		<label id="materialHight"
		       name="master.materialDetail.materialHight">${(master.materialDetail.materialHight)!}</label>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="measureUnit"/>：
	</td>
	<td>
		<label id="measureUnit" name="master.materialDetail.measureUnit">${(master.materialDetail.measureUnit)!}</label>
	</td>
	<td>
	<@s.text name="temperature"/>：
	</td>
	<td>
		<label id="temperature" name="master.materialDetail.temperature">${(master.materialDetail.temperature)!}</label>
	</td>
	<td>
	<@s.text name="temperatureUnit"/>：
	</td>
	<td>
		<label id="temperatureUnit"
		       name="master.materialDetail.temperatureUnit">${(master.materialDetail.temperatureUnit)!}</label>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="humidity"/>：
	</td>
	<td>
		<label id="humidity" name="master.materialDetail.humidity">${(master.materialDetail.humidity)!}</label>
	</td>
	<td>
	<@s.text name="humidityUnit"/>：
	</td>
	<td>
		<label id="humidityUnit"
		       name="master.materialDetail.humidityUnit">${(master.materialDetail.humidityUnit)!}</label>
	</td>
	<td>
	<@s.text name="special"/>：
	</td>
	<td>
		<label id="special" name="master.materialDetail.special">${(master.materialDetail.special)!}</label>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="shape"/>：
	</td>
	<td>
		<label id="shape" name="master.materialDetail.shape">${(master.materialDetail.shape)!}</label>
	</td>
	<td>
	<@s.text name="smell"/>：
	</td>
	<td>
		<label id="smell" name="master.materialDetail.smell">${(master.materialDetail.smell)!}</label>
	</td>
	<td>
	<@s.text name="category1"/>：
	</td>
	<td>
		<label id="category1" name="master.materialDetail.category1">${(master.materialDetail.category1)!}</label>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="category2"/>：
	</td>
	<td>
		<label id="category2" name="master.materialDetail.category2">${(master.materialDetail.category2)!}</label>
	</td>
	<td>
	<@s.text name="category3"/>：
	</td>
	<td>
		<label id="category3" name="master.materialDetail.category3">${(master.materialDetail.category3)!}</label>
	</td>
	<td>
	<@s.text name="category4"/>：
	</td>
	<td>
		<label id="category4" name="master.materialDetail.category4">${(master.materialDetail.category4)!}</label>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="category5"/>：
	</td>
	<td>
		<label id="category5" name="master.materialDetail.category5">${(master.materialDetail.category5)!}</label>
	</td>
	<td>
	<@s.text name="isTooLong"/>：
	</td>
	<td>
		<label id="isTooLong" name="master.materialDetail.isTooLong">${(master.materialDetail.isTooLong)!}</label>
	</td>
	<td>
	<@s.text name="isTooWeight"/>：
	</td>
	<td>
		<label id="isTooWeight" name="master.materialDetail.isTooWeight">${(master.materialDetail.isTooWeight)!}</label>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="isTooHigh"/>：
	</td>
	<td>
		<label id="isTooHigh" name="master.materialDetail.isTooHigh">${(master.materialDetail.isTooHigh)!}</label>
	</td>
	<td>
	<@s.text name="isTooWidth"/>：
	</td>
	<td>
		<label id="isTooWidth" name="master.materialDetail.isTooWidth">${(master.materialDetail.isTooWidth)!}</label>
	</td>
	<td>
	<@s.text name="isCombustible"/>：
	</td>
	<td>
		<label id="isCombustible"
		       name="master.materialDetail.isCombustible">${(master.materialDetail.isCombustible)!}</label>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="isExplosive"/>：
	</td>
	<td>
		<label id="isExplosive" name="master.materialDetail.isExplosive">${(master.materialDetail.isExplosive)!}</label>
	</td>
	<td>
	<@s.text name="isExpensive"/>：
	</td>
	<td>
		<label id="isExpensive" name="master.materialDetail.isExpensive">${(master.materialDetail.isExpensive)!}</label>
	</td>
	<td>
	<@s.text name="isDangerous"/>：
	</td>
	<td>
		<label id="isDangerous" name="master.materialDetail.isDangerous">${(master.materialDetail.isDangerous)!}</label>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="isCrisply"/>：
	</td>
	<td>
		<label id="isCrisply" name="master.materialDetail.isCrisply">${(master.materialDetail.isCrisply)!}</label>
	</td>
	<td>
	<@s.text name="canNotExtrusion"/>：
	</td>
	<td>
		<label id="canNotExtrusion"
		       name="master.materialDetail.canNotExtrusion">${(master.materialDetail.canNotExtrusion)!}</label>
	</td>
	<td>
	<@s.text name="canNotInversion"/>：
	</td>
	<td>
		<label id="canNotInversion"
		       name="master.materialDetail.canNotInversion">${(master.materialDetail.canNotInversion)!}</label>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="dangerType"/>：
	</td>
	<td>
		<label id="dangerType" name="master.materialDetail.dangerType">${(master.materialDetail.dangerType)!}</label>
	</td>
	<td>
	<@s.text name="dangerSubType"/>：
	</td>
	<td>
		<label id="dangerSubType"
		       name="master.materialDetail.dangerSubType">${(master.materialDetail.dangerSubType)!}</label>
	</td>
	<td>
	<@s.text name="dangerCode"/>：
	</td>
	<td>
		<label id="dangerCode" name="master.materialDetail.dangerCode">${(master.materialDetail.dangerCode)!}</label>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="transType"/>：
	</td>
	<td>
		<label id="transType" name="master.materialDetail.transType">${(master.materialDetail.transType)!}</label>
	</td>
	<td>
	<@s.text name="component1"/>：
	</td>
	<td>
		<label id="component1" name="master.materialDetail.component1">${(master.materialDetail.component1)!}</label>
	</td>
	<td>
	<@s.text name="content1"/>：
	</td>
	<td>
		<label id="content1" name="master.materialDetail.content1">${(master.materialDetail.content1)!}</label>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="component2"/>：
	</td>
	<td>
		<label id="component2" name="master.materialDetail.component2">${(master.materialDetail.component2)!}</label>
	</td>
	<td>
	<@s.text name="content2"/>：
	</td>
	<td>
		<label id="content2" name="master.materialDetail.content2">${(master.materialDetail.content2)!}</label>
	</td>
	<td>
	<@s.text name="component3"/>：
	</td>
	<td>
		<label id="component3" name="master.materialDetail.component3">${(master.materialDetail.component3)!}</label>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="content3"/>：
	</td>
	<td>
		<label id="content3" name="master.materialDetail.content3">${(master.materialDetail.content3)!}</label>
	</td>
	<td>
	<@s.text name="component4"/>：
	</td>
	<td>
		<label id="component4" name="master.materialDetail.component4">${(master.materialDetail.component4)!}</label>
	</td>
	<td>
	<@s.text name="content4"/>：
	</td>
	<td>
		<label id="content4" name="master.materialDetail.content4">${(master.materialDetail.content4)!}</label>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="component5"/>：
	</td>
	<td>
		<label id="component5" name="master.materialDetail.component5">${(master.materialDetail.component5)!}</label>
	</td>
	<td>
	<@s.text name="content5"/>：
	</td>
	<td>
		<label id="content5" name="master.materialDetail.content5">${(master.materialDetail.content5)!}</label>
	</td>
	<td>
	<@s.text name="remark"/>：
	</td>
	<td>
		<label id="remark" name="master.materialDetail.remark">${(master.materialDetail.remark)!}</label>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="createMan"/>：
	</td>
	<td>
		<label id="createMan" name="master.materialDetail.createMan">${(master.materialDetail.createMan)!}</label>
	</td>
	<td>
	<@s.text name="udf1"/>：
	</td>
	<td>
		<label id="udf1" name="master.materialDetail.udf1">${(master.materialDetail.udf1)!}</label>
	</td>
	<td>
	<@s.text name="udf2"/>：
	</td>
	<td>
		<label id="udf2" name="master.materialDetail.udf2">${(master.materialDetail.udf2)!}</label>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="udf3"/>：
	</td>
	<td>
		<label id="udf3" name="master.materialDetail.udf3">${(master.materialDetail.udf3)!}</label>
	</td>
	<td>
	<@s.text name="udf4"/>：
	</td>
	<td>
		<label id="udf4" name="master.materialDetail.udf4">${(master.materialDetail.udf4)!}</label>
	</td>
	<td>
	<@s.text name="udf5"/>：
	</td>
	<td>
		<label id="udf5" name="master.materialDetail.udf5">${(master.materialDetail.udf5)!}</label>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="udf6"/>：
	</td>
	<td>
		<label id="udf6" name="master.materialDetail.udf6">${(master.materialDetail.udf6)!}</label>
	</td>
	<td>
	<@s.text name="udf7"/>：
	</td>
	<td>
		<label id="udf7" name="master.materialDetail.udf7">${(master.materialDetail.udf7)!}</label>
	</td>
	<td>
	<@s.text name="udf8"/>：
	</td>
	<td>
		<label id="udf8" name="master.materialDetail.udf8">${(master.materialDetail.udf8)!}</label>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="udf9"/>：
	</td>
	<td>
		<label id="udf9" name="master.materialDetail.udf9">${(master.materialDetail.udf9)!}</label>
	</td>
	<td>
	<@s.text name="udf10"/>：
	</td>
	<td>
		<label id="udf10" name="master.materialDetail.udf10">${(master.materialDetail.udf10)!}</label>
	</td>
	<td>
	<@s.text name="udf11"/>：
	</td>
	<td>
		<label id="udf11" name="master.materialDetail.udf11">${(master.materialDetail.udf11)!}</label>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="udf12"/>：
	</td>
	<td>
		<label id="udf12" name="master.materialDetail.udf12">${(master.materialDetail.udf12)!}</label>
	</td>
	<td>
	<@s.text name="udf13"/>：
	</td>
	<td>
		<label id="udf13" name="master.materialDetail.udf13">${(master.materialDetail.udf13)!}</label>
	</td>
	<td>
	<@s.text name="udf14"/>：
	</td>
	<td>
		<label id="udf14" name="master.materialDetail.udf14">${(master.materialDetail.udf14)!}</label>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="udf15"/>：
	</td>
	<td>
		<label id="udf15" name="master.materialDetail.udf15">${(master.materialDetail.udf15)!}</label>
	</td>
	<td>
	<@s.text name="udf16"/>：
	</td>
	<td>
		<label id="udf16" name="master.materialDetail.udf16">${(master.materialDetail.udf16)!}</label>
	</td>
	<td>
	<@s.text name="udf17"/>：
	</td>
	<td>
		<label id="udf17" name="master.materialDetail.udf17">${(master.materialDetail.udf17)!}</label>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="udf18"/>：
	</td>
	<td>
		<label id="udf18" name="master.materialDetail.udf18">${(master.materialDetail.udf18)!}</label>
	</td>
</tr>
</table>
</div>
<div dojoType="dijit.layout.ContentPane" title="客户设置信息表">
	<table>
		<tr>
			<td>
			<@s.text name="dftPkgType"/>：
			</td>
			<td>
				<label id="dftPkgType"
				       name="material.customerSetting.dftPkgType">${(material.customerSetting.dftPkgType)!}</label>
			</td>
			<td>
			<@s.text name="dftPkgCode"/>：
			</td>
			<td>
				<label id="dftPkgCode"
				       name="material.customerSetting.dftPkgCode">${(material.customerSetting.dftPkgCode)!}</label>
			</td>
			<td>
			<@s.text name="dftRegRule"/>：
			</td>
			<td>
				<label id="dftRegRule"
				       name="material.customerSetting.dftRegRule">${(material.customerSetting.dftRegRule)!}</label>
			</td>
		</tr>
		<tr>
			<td>
			<@s.text name="stockAssign"/>：
			</td>
			<td>
				<label id="stockAssign"
				       name="material.customerSetting.stockAssign">${(material.customerSetting.stockAssign)!}</label>
			</td>
			<td>
			<@s.text name="dftBatchType"/>：
			</td>
			<td>
				<label id="dftBatchType"
				       name="material.customerSetting.dftBatchType">${(material.customerSetting.dftBatchType)!}</label>
			</td>
			<td>
			<@s.text name="dftLocrevRule"/>：
			</td>
			<td>
				<label id="dftLocrevRule"
				       name="material.customerSetting.dftLocrevRule">${(material.customerSetting.dftLocrevRule)!}</label>
			</td>
		</tr>
		<tr>
			<td>
			<@s.text name="dftPreAssignRule"/>：
			</td>
			<td>
				<label id="dftPreAssignRule"
				       name="material.customerSetting.dftPreAssignRule">${(material.customerSetting.dftPreAssignRule)!}</label>
			</td>
			<td>
			<@s.text name="dftAssignRule"/>：
			</td>
			<td>
				<label id="dftAssignRule"
				       name="material.customerSetting.dftAssignRule">${(material.customerSetting.dftAssignRule)!}</label>
			</td>
			<td>
			<@s.text name="dftSupplyRule"/>：
			</td>
			<td>
				<label id="dftSupplyRule"
				       name="material.customerSetting.dftSupplyRule">${(material.customerSetting.dftSupplyRule)!}</label>
			</td>
		</tr>
		<tr>
			<td>
			<@s.text name="dftQtRule"/>：
			</td>
			<td>
				<label id="dftQtRule"
				       name="material.customerSetting.dftQtRule">${(material.customerSetting.dftQtRule)!}</label>
			</td>
			<td>
			<@s.text name="chargeRule"/>：
			</td>
			<td>
				<label id="chargeRule"
				       name="material.customerSetting.chargeRule">${(material.customerSetting.chargeRule)!}</label>
			</td>
			<td>
			<@s.text name="rateId"/>：
			</td>
			<td>
				<label id="rateId" name="material.customerSetting.rateId">${(material.customerSetting.rateId)!}</label>
			</td>
		</tr>
		<tr>
			<td>
			<@s.text name="settleId"/>：
			</td>
			<td>
				<label id="settleId"
				       name="material.customerSetting.settleId">${(material.customerSetting.settleId)!}</label>
			</td>
			<td>
			<@s.text name="carrierId"/>：
			</td>
			<td>
				<label id="carrierId"
				       name="material.customerSetting.carrierId">${(material.customerSetting.carrierId)!}</label>
			</td>
			<td>
			<@s.text name="firstOrderRule"/>：
			</td>
			<td>
				<label id="firstOrderRule"
				       name="material.customerSetting.firstOrderRule">${(material.customerSetting.firstOrderRule)!}</label>
			</td>
		</tr>
		<tr>
			<td>
			<@s.text name="moneyType"/>：
			</td>
			<td>
				<label id="moneyType"
				       name="material.customerSetting.moneyType">${(material.customerSetting.moneyType)!}</label>
			</td>
			<td>
			<@s.text name="dftRecUnit"/>：
			</td>
			<td>
				<label id="dftRecUnit"
				       name="material.customerSetting.dftRecUnit">${(material.customerSetting.dftRecUnit)!}</label>
			</td>
			<td>
			<@s.text name="depShpUnit"/>：
			</td>
			<td>
				<label id="depShpUnit"
				       name="material.customerSetting.depShpUnit">${(material.customerSetting.depShpUnit)!}</label>
			</td>
		</tr>
		<tr>
			<td>
			<@s.text name="printUnit"/>：
			</td>
			<td>
				<label id="printUnit"
				       name="material.customerSetting.printUnit">${(material.customerSetting.printUnit)!}</label>
			</td>
			<td>
			<@s.text name="ediCode"/>：
			</td>
			<td>
				<label id="ediCode"
				       name="material.customerSetting.ediCode">${(material.customerSetting.ediCode)!}</label>
			</td>
			<td>
			<@s.text name="scope"/>：
			</td>
			<td>
				<label id="scope" name="material.customerSetting.scope">${(material.customerSetting.scope)!}</label>
			</td>
		</tr>
	</table>
</div>
<div dojoType="dijit.layout.ContentPane" title="物料组表">
	<link rel="stylesheet" href="${(path)!}/js/dojo/dojox/grid/resources/${(theme)!}Grid.css">
	<script language="javascript" type="text/javascript">
		dojo.require("dojox.grid.DataGrid");
		dojo.require("dojox.grid._CheckBoxSelector");
		dojo.require("dojo.data.ItemFileWriteStore");
	</script>
	<div id="materialGroup" autoHeight="true" style="width: 100%;"
	     dojoType="dojox.grid.DataGrid" singleClickEdit="true" structure="materialGroup_structure"
	     store="materialGroup_store">
	</div>
	<div style="width:100%; text-align:center;">
		<input type="button" id="addMaterialGroup" value="增加" class="addRow"/>
		<input type="button" id="deleteMaterialGroup" value="删除" class="deleteRow"/>
	</div>
	<script type="text/javascript" language="javascript">
		var materialGroup_store = new dojo.data.ItemFileWriteStore({
					data:{
						identifier:"id",
						label:"name",
						items:[
							<#list material.materialGroup![] as item >
								<#if (item_index > 0)>,</#if>
								{
									"id":"${(item.id)!}"
									,"chinaDesc": "${(item.chinaDesc)!}"
									,"rate": "${(item.rate)!}"
									,"customRate": "${(item.customRate)!}"
									,"exciseTaxRate": "${(item.exciseTaxRate)!}"
									,"valueaddedTaxRate": "${(item.valueaddedTaxRate)!}"
									,"seqDesc": "${(item.seqDesc)!}"
								}
							</#list>
						]
					}
				});
		var materialGroup_structure = [
			{ type: "dojox.grid._CheckBoxSelector"}
			,
			{cells:[
				[
					new dojox.grid.cells.RowIndex({ width:"2",name:""}),
					{
						"name" : "<@s.text name="chinaDesc"/>"
						,"field" : "chinaDesc"
						,"width" :"17%"
						,"editable" : true
						,"headerClasses" : "gridHeader"
					}
					,{
					"name" : "<@s.text name="rate"/>"
					,"field" : "rate"
					,"width" :"17%"
					,"editable" : true
					,"headerClasses" : "gridHeader"
				}
					,{
					"name" : "<@s.text name="customRate"/>"
					,"field" : "customRate"
					,"width" :"17%"
					,"editable" : true
					,"headerClasses" : "gridHeader"
				}
					,{
					"name" : "<@s.text name="exciseTaxRate"/>"
					,"field" : "exciseTaxRate"
					,"width" :"17%"
					,"editable" : true
					,"headerClasses" : "gridHeader"
				}
					,{
					"name" : "<@s.text name="valueaddedTaxRate"/>"
					,"field" : "valueaddedTaxRate"
					,"width" :"17%"
					,"editable" : true
					,"headerClasses" : "gridHeader"
				}
					,{
					"name" : "<@s.text name="seqDesc"/>"
					,"field" : "seqDesc"
					,"width" :"17%"
					,"editable" : true
					,"headerClasses" : "gridHeader"
				}
				]
			]
			}
		];
		var materialGroup_index = 0;
		//新增行按钮
		dojo.connect(dojo.byId("addMaterialGroup"), "click", function() {
			materialGroup_store.newItem({
						"id" : materialGroup_index
						,"chinaDesc": ""
						,"rate": ""
						,"customRate": ""
						,"exciseTaxRate": ""
						,"valueaddedTaxRate": ""
						,"seqDesc": ""
					});
			materialGroup_index++;
		})
		//删除行按钮
		dojo.connect(dojo.byId("deleteMaterialGroup"), "click", function() {
			dijit.byId("materialGroup").removeSelectedRows();
		})
	</script>
</div>
</div>
<@listButton btnSave=false btnClear=false/>
</form>
</@html>
